﻿using System;
using System.Configuration;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Web;

namespace LightWeightORM
{
    namespace ORM
    {
        namespace DbHelper
        {

            /// <summary>
            /// Summary description for IDbHelper
            /// </summary>
            public interface IDbHelper
            {
                int Fill(DataTable dataTable, string commandText, params DbParameter[] parms);
                int ExecuteNonQuery(string commandText,params DbParameter[] parms);
                object ExecuteScalar(string commandText, params DbParameter[] parms);
                DbParameter CreateParameter();
                string ParameterModifier { get; }
            }
        }
    }
}